[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
upregister[learnedlong][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \define[1]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \refer

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
upregister[learnedlong][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \define[1]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \refer

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
o link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors manually using \textreference and

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
manually using \textreference and \pagereference. Then you can use \in[chap:first], \about[chap:first] or \at[chap:first]. For external links, you use \goto (it’s a bit extensive). Please look up the syntax reference in the wiki. Hraban

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
all through the wiki, thinking this was a basic feature, but couldn't get anything to work. I even tried my own custom macros, see below, but strangely, it won't give me the correct title, it tells me the title of the current chapter, instead of the title in which the reference was placed: \define[1]\

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
sic feature, but couldn't get anything to work. I even tried my own custom macros, see below, but strangely, it won't give me the correct title, it tells me the title of the current chapter, instead of the title in which the reference was placed: \define[1]\dropref{%    \textreference[#1]{\e

Re: [NTG-context] image across 2 page spread

2020-04-30 Thread Henning Hraban Ramm
empty, pagestate=start, ] \def\doublepagefig{\dodoubleempty\doDoublePagefig} \def\doDoublePagefig[#1][#2]#3#4{ \startfullpagemakeup \setlayer[bgpicleft]{\textreference[#1]{}% \clip[ hoffset=0mm, voffset=0mm,

Re: [NTG-context] hypertarget and hyperlink in ConTeXt?

2019-09-01 Thread Henning Hraban Ramm
> Am 2019-09-01 um 06:36 schrieb Jon Wong : > > Hi all, > > I’m having trouble getting \textreference to show up. See https://wiki.contextgarden.net/Command/textreference: "Creates an **invisible**, referencable anchor text on the page" Greetlings, Hraban ---

Re: [NTG-context] hypertarget and hyperlink in ConTeXt?

2019-08-31 Thread Jon Wong
Hi all, I’m having trouble getting \textreference to show up. MWE: \starttext \textreference[bleh]{\bf Ref One}. \page \textreference[blah]{\bf Ref Two}. \at[bleh]. \at[blah]. \stoptext Regards Jon > On Aug 28, 2019, at 7:40 PM, Jon Wong wrote: > > Hi all, > >

Re: [NTG-context] hypertarget and hyperlink in ConTeXt?

2019-08-28 Thread Henning Hraban Ramm
> Am 2019-08-28 um 13:40 schrieb Jon Wong : > > Hi all, > > Any way to do hypertarget and hyperlink in ConTeXt? > > From https://www.contextgarden.net/Command/textreference: I see that the name > of the anchor is also the displayed text (“houses”). \setupinteraction[s

[NTG-context] hypertarget and hyperlink in ConTeXt?

2019-08-28 Thread Jon Wong
Hi all, Any way to do hypertarget and hyperlink in ConTeXt? From https://www.contextgarden.net/Command/textreference: <https://www.contextgarden.net/Command/textreference:> I see that the name of the anchor is also the displayed text (“houses”). Regar

Re: [NTG-context] Figure labels in combinations

2019-07-30 Thread Luca Mauri
]\textreference[pic1]{\getnumber[figure]}\in[pic1]} {figure 2} {...similar...} {figure 3} {...similar...} \stopcombination \stopplacefigure and then \in[pic1] in the body of the text, which looked very promising; the trouble is that for some reason that i do not understand, the \in[pic1] in the label

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
nal stage of completing a book project, I was wondering how to >>> automatize cross references to chapters. I’ve already figured out how to >>> refer to pages (using “\at[REFERENCE]”), but how is this done with >>> chapters? I’m apparently too simple-minded to understand

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
omatize cross references to chapters. I’ve already figured out how to >> refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? >> I’m apparently too simple-minded to understand the manual (and I don’t >> understand the differences between \reference, \text

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Henning Hraban Ramm
out how to >> refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? >> I’m apparently too simple-minded to understand the manual (and I don’t >> understand the differences between \reference, \textreference, \in, \about). > > When you use \startchapter: &g

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Wolfgang Schuster
? I’m apparently too simple-minded to understand the manual (and I don’t understand the differences between \reference, \textreference, \in, \about). When you use \chapter: \starttext \chapter[sec:knuth]{Knuth} \samplefile{knuth} See \in{chapter}[sec:zapf] at \at{page}[sec:zapf]. \chapter

[NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
the manual (and I don’t understand the differences between \reference, \textreference, \in, \about). Robert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] image file resolver in Lua?

2018-02-05 Thread Rudolf Bahr
ge as current > > >\def\myClipHeight{\ctxlua{ctxClipHeight("#3", \Resolution)}} > > >\def\mystartY{\ctxlua{ctxStartY("#3", \Resolution)}} > > >% image > > >\setlayerframed[bglayer][% > > > frame=off, > > >

Re: [NTG-context] image file resolver in Lua?

2018-02-04 Thread Hans Hagen
xtwidth, height=\myClipHeight, hoffset=0mm, voffset=0mm, % i.e. clip bottom! TODO: options! ]{\externalfigure[#3][width=\textwidth]} } \textreference[pre#1]{\myImgHeight} % caption \setlayerframed[bglayer][% frame=off, offset=overlay, linecorrectio

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Rudolf Bahr
ight{\ctxlua{ctxClipHeight("#3", \Resolution)}} > \def\mystartY{\ctxlua{ctxStartY("#3", \Resolution)}} > % image > \setlayerframed[bglayer][% > frame=off, > offset=overlay, > x=21mm, > y=\mystartY, > height=\myClipHeight, > wid

Re: [NTG-context] image file resolver in Lua?

2018-02-02 Thread Henning Hraban Ramm
\clip[ width=\textwidth, height=\myClipHeight, hoffset=0mm, voffset=0mm, % i.e. clip bottom! TODO: options! ]{\externalfigure[#3][width=\textwidth]} } \textreference[pre#1]{\myImgHeight} % caption \setlayerframed[bglayer][% frame=off, offset=overlay,

[NTG-context] Upvalue error pdfpaperheight

2015-10-15 Thread Ulrike Fischer
e }% \vfill } \textreference[myref]{blblbla} \textreference[myref2]{blub} \about[myref] \scale[factor=30]{\about[myref]} \scale[factor=30]{\about[myref2]} \scale[width=4cm]{\about[myref]} \scale[width=4cm]{\about[myref2]} \rotate[rotation=45,offset=2pt]{\about[myref]} \stoptext -- Ulrik

Re: [NTG-context] \textreference

2014-07-26 Thread Hans Hagen
On 7/13/2014 7:59 PM, Herbert Voss wrote: I thought that \textreference will print its text (Foo) in difference to \reference. With current minimal I can see no difference between both. \starttext \textreference[foo]{Foo} \reference[bar]{Bar} \about[foo] and \about[bar] \atpage[bar] \stoptext

[NTG-context] \textreference

2014-07-13 Thread Herbert Voss
I thought that \textreference will print its text (Foo) in difference to \reference. With current minimal I can see no difference between both. \starttext \textreference[foo]{Foo} \reference[bar]{Bar} \about[foo] and \about[bar] \atpage[bar] \stoptext Herbert

Re: [NTG-context] hyperlinks within a PDF

2014-06-16 Thread Wolfgang Schuster
references in the text can be set with the \reference, \textreference or \pagereference commands. \setupexternalfigures[location=default] \setupinteraction[state=start] \starttext \startchapter[referemce=sec:sectionlabel,title=Dummy chapter] \input knuth \startplacefigure[reference=fig:figurelabel

[NTG-context] textreference in a protocol (minutes)

2013-11-11 Thread Joshua Krämer
Dear list members, I use ConTeXt MkIV to typeset the protocol (minutes) of a meeting. In my macros, I use \textreference and \about to reuse the text from the agenda list in the actual sections. It's like the regular table of contents, but reversed (see the below MWE). I do it like

Re: [NTG-context] \completepublications in component creates wrong hyperlinks

2013-08-06 Thread Hans Hagen
reference\textreference[check]{check})) \stopcomponent \stopbuffer \savebuffer[list=component,file=test-component.tex,prefix=no] \setupinteraction [state=start] \starttext there: \in[check] % \start \component test-component % \stop there: \in[check] \page

[NTG-context] Did usage of \expanded changed?

2012-05-11 Thread Peter Schorsch
\Paragraphmark{\expanded{\textreference[\Paragraphmark]{\fullheadnumber/\rawnumber[ParagraphNumber]}}}% The error shows itself in the line: Should be 1/1: \in[test] As \in[test] gives me 1/3 instead of 1/1. (1 was the number assigned to the first paragraph - 3 is the acutal number). Can

Re: [NTG-context] Did usage of \expanded changed?

2012-05-11 Thread Thomas A. Schmitz
of the full example below: \doifsomething\Paragraphmark{\expanded{\textreference[\Paragraphmark]{\fullheadnumber/\rawnumber[ParagraphNumber]}}}% The error shows itself in the line: Should be 1/1: \in[test] As \in[test] gives me 1/3 instead of 1/1. (1 was the number assigned

Re: [NTG-context] Did usage of \expanded changed?

2012-05-11 Thread Peter Schorsch
\markParagraph[#1]% {\getrawparameters[Paragraph][mark=,#1]% \incrementcounter[ParagraphCounter]% \expanded{\textreference[\Paragraphmark]{\convertedcounter[ParagraphCounter]}}} \protect \starttext \markParagraph[mark=aaa] \input tufte \markParagraph[mark=bbb] \input

Re: [NTG-context] Did usage of \expanded changed?

2012-05-11 Thread Hans Hagen
On 11-5-2012 16:59, Peter Schorsch wrote: \unprotect \definecounter[ParagraphCounter][way=bysection,prefix=no] \def\markParagraph[#1]% {\getrawparameters[Paragraph][mark=,#1]% \incrementcounter[ParagraphCounter]% \expanded{\textreference[\Paragraphmark

Re: [NTG-context] Pagereference not working!?

2012-04-07 Thread Wolfgang Schuster
with the \reference, \textreference and \pagereference commands and \in and \at to show the values. I made a example where you can see that the second shows the counter and page with \in and \at but for the other reference commands you have to use \getreference to show the values

Re: [NTG-context] Pagereference not working!?

2012-04-07 Thread Hans Hagen
working either! There are indeed problems with the \reference, \textreference and \pagereference commands and \in and \at to show the values. some grouping issue ... new beta - Hans Hagen

Re: [NTG-context] Pagereference not working!?

2012-04-07 Thread Wolfgang Schuster
. Page referencing between external documents isn't working either! There are indeed problems with the \reference, \textreference and \pagereference commands and \in and \at to show the values. some grouping issue ... new beta Thanks for the fast fix and beta. What need to be improved

Re: [NTG-context] Pagereference not working!?

2012-04-07 Thread Verhaag, G.C.H.M.
referencing between external documents isn't working either! There are indeed problems with the \reference, \textreference and \pagereference commands and \in and \at to show the values. some grouping issue ... new beta

Re: [NTG-context] Problem Citing a Definition

2012-01-31 Thread Wolfgang Schuster
to a section or enumeration you get the number of the section or enumeration but when you refer to something without a number you get the stored text etc., e.g. \textreference[foo]{This is the text!} print “This is the text!”. For enumerations, floats etc. you can use the section number as prefix

Re: [NTG-context] inactive hyperlink?

2011-11-23 Thread Hans Hagen
On 21-11-2011 20:36, Hans van der Meer wrote: There is something with creating hyperlinks I do not understand. Did \setupinteraction[state=start] Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link. Situation-2: \pagereference[reftoplace] (or \textreference

[NTG-context] inactive hyperlink?

2011-11-21 Thread Hans van der Meer
There is something with creating hyperlinks I do not understand. Did \setupinteraction[state=start] Situation-1: \placefigure[][reftofigure].. gives me with \in.. a clickable link. Situation-2: \pagereference[reftoplace] (or \textreference, \reference} do give me a link-colored text with \in{txt

Re: [NTG-context] Links in exported XHTML file

2011-10-25 Thread Andreas Harder
\useURL[google][http://www.google.com/][][Google] \from[google] \textreference[txt:ref]{some text} \in[txt:ref] % OK \goto{Google}[url(http://www.google.com/)] \stoptext in next beta Thanks Hans, but now the text reference is *not* wrapped in xhml:a-tags. at.href = # .. gsub

Re: [NTG-context] Links in exported XHTML file

2011-10-24 Thread Hans Hagen
On 21-10-2011 11:27, Andreas Harder wrote: \setupinteraction[state=start] \setupbackend[export=yes,xhtml=yes,css=export-example.css] \starttext \useURL[google][http://www.google.com/][][Google] \from[google] \textreference[txt:ref]{some text} \in[txt:ref] % OK \goto{Google}[url(http

[NTG-context] Links in exported XHTML file

2011-10-21 Thread Andreas Harder
] \textreference[txt:ref]{some text} \in[txt:ref] % OK \goto{Google}[url(http://www.google.com/)] \stoptext I would appreciate any tips. Regards Andreas ___ If your question is of interest to others as well, please add

Re: [NTG-context] inner/outer margin: wrong width at double sided

2011-07-17 Thread Peter Schorsch
[ParagraphNumber]}% \doifsomething\Paragraphheading{\inouter{\Paragraphheading}}% \doifsomething\Paragraphmark{\expanded{\textreference[\Paragraphmark]{\fullheadnumber/\rawnumber[ParagraphNumber]}}}% \ignorespaces} \unexpanded\def\stopParagraph

[NTG-context] inner/outer margin: confused width

2011-07-14 Thread Peter Schorsch
\getnumber[ParagraphNumber]}% \doifsomething\Paragraphheading{\inouter{\Paragraphheading}}% \doifsomething\Paragraphmark{\expanded{\textreference[\Paragraphmark]{\fullheadnumber/\rawnumber[ParagraphNumber]}}}% \ignorespaces} \unexpanded\def\stopParagraph {\blank[medium]} % Setup

Re: [NTG-context] Footnotes and interaction again

2010-03-18 Thread Philipp Gesang
on Page \ref[p][label:1]. \stoptext in strc-ref.mkiv patch \unexpanded\def\textreference {\dosingleargument\dotextreference} \unexpanded\def\pagereference {\dosingleargument\dopagereference} \unexpanded\def\reference {\dosingleargument\doreference} \unexpanded\def\setreference

Re: [NTG-context] Footnotes and interaction again

2010-03-17 Thread Hans Hagen
-ref.mkiv patch \unexpanded\def\textreference {\dosingleargument\dotextreference} \unexpanded\def\pagereference {\dosingleargument\dopagereference} \unexpanded\def\reference {\dosingleargument\doreference} \unexpanded\def\setreference {\dodoubleargument\dosetreference } (make them unexpandable

[NTG-context] Line Numbering and References

2009-10-14 Thread Andreas Harder
Hello all, I have a problem with referencing from a line numbered text. In page-lin.mkiv I've found the \inline-command, but I can't make use of it: \starttext \startlinenumbering Hello \textreference[ref]{} World! \stoplinenumbering \inline[ref] % output: line ?? \stoptext What I really

[NTG-context] standard focus with interaction is not working

2009-08-24 Thread Khaled Hosny
\setupinteraction[focus=standard] has no effect, I get the usual fit page mode instead. Works fine with MkII. Example: \setupinteraction[state=start,focus=standard] \starttext \goto{Knuth}[knuth] \page \input knuth \textreference[knuth]{} \stoptext A side note, I'm just wondering why standard

Re: [NTG-context] standard focus with interaction is not working

2009-08-24 Thread Hans Hagen
Khaled Hosny wrote: \setupinteraction[focus=standard] has no effect, I get the usual fit page mode instead. Works fine with MkII. Example: \setupinteraction[state=start,focus=standard] \starttext \goto{Knuth}[knuth] \page \input knuth \textreference[knuth]{} \stoptext in mkiv hypherlinks

Re: [NTG-context] standard focus with interaction is not working

2009-08-24 Thread Khaled Hosny
knuth \textreference[knuth]{} \stoptext in mkiv hypherlinks (annotations in general) are implemented rather different thamn in mkii in mkii the mechanism evolved from dvi based hyperlinks (dviwindo) and had a couple of features not supported by pdftex by default in mkiv all is handled

Re: [NTG-context] make references somewhere in text

2009-08-21 Thread Hans Hagen
Xan wrote: Hi, perhaps a stupid question, but I can't find it. How can I define a reference in the plain text. For example something like: Hello this is the \reference[here] text and do something like \in[here] \pagereference[xxx] \textreference[xxx]{...} \reference[xxx]{xxx

Re: [NTG-context] Last attempt: numbered margin notes in ConTeXt?

2008-06-05 Thread Hans Hagen
{\textreference[#1]{\MyMarginalNote}}}% #2}} \setupinmargin[stack=yes] \starttext bla bla bla \mnote{xxx} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \mnote[foo]{xxx} bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla

Re: [NTG-context] Last attempt: numbered margin notes in ConTeXt?

2008-06-05 Thread Hans Hagen
note). i'm not sure what accent you mean, anyhow, \def\domnote[#1]#2% {\doglobal\increment\MyMarginalNote\plusone \inmargin {\MyMarginalNote: \doifsomething{#1} {\expanded{\textreference[#1]{\MyMarginalNote}}}% #2}% \high{\MyMarginalNote

Re: [NTG-context] Last attempt: numbered margin notes in ConTeXt?

2008-06-05 Thread Aditya Mahajan
\increment\MyMarginalNote \high{\MyMarginalNote}% \inmargin {\MyMarginalNote: \doifsomething{#1} {\expanded{\textreference[#1]{\MyMarginalNote}}}#2}} Now the explaination: \newcounter\MyMarginalNote Defines a new counter called MyMarginalNode. Hans did not use this because

Re: [NTG-context] Last attempt: numbered margin notes in ConTeXt?

2008-06-05 Thread Aditya Mahajan
On Fri, 6 Jun 2008, Hans Hagen wrote: \def\domnote[#1]#2% {\doglobal\increment\MyMarginalNote\plusone \inmargin {\MyMarginalNote: \doifsomething{#1} {\expanded{\textreference[#1]{\MyMarginalNote}}}% #2}% \high{\MyMarginalNote}} There should

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
} \tab{text} text # \tbox \tex{text} \textreference[reference]{text} \textrule[top|bottom]{text} \textvariable[name] \thinrule \thinrules[settings] # \tightlayer \title[references]{text} # \to \tooltip[left|right|middle]{text}{text} \translate[name=text] \typ{text} \type{text} \typebuffer[name

Re: [NTG-context] currentheadnumber / doif.. problem

2007-10-15 Thread Peter Schorsch
}% {\headnumber[chapter]}% {\headnumber[section]}% } \def\paragraphMark[#1] {\expanded{\textreference[#1]{\presentheadnumber/\getnumber[paragraphNumber]}}} \define\getParagraphNumber {\incrementnumber[paragraphNumber]% \inothermargin{\color[grey]% {\tfx\getnumber[paragraphNumber

Re: [NTG-context] value-copy - e.g. in \textreference

2007-08-31 Thread Peter Schorsch
Wolfgang Schuster wrote: \def\MyMark[#1]% {\expanded{\textreference[#1]{Para. \currentheadnumber / {\getnumber[number]}}} Thanks, it works with the expanded... ___ If your question is of interest

Re: [NTG-context] Context replacement for bibitem

2007-08-30 Thread Wolfgang Schuster
]} {\sym{\cap{#2}}\textreference[#1]{\cap{#2 \def\bibref[#1]#2{\doifemptyelse{#2} {[\in[#1]]} {[\in[#1], #2]}} \protect \stopmodule \endinput ---how to use: \usemodule[biblist] \starttext \section{hamha} asdfklsj fk~\bibref[keykeykey]{} \section

[NTG-context] value-copy - e.g. in \textreference

2007-08-30 Thread Peter Schorsch
] {\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}} \definestartstop[MyPara] [before= {\blank[medium]\incrementnumber[number]% \inothermargin{\getnumber[number]~}}, after={\blank[medium]}] \starttext \section \startMyPara blabla blabla blabla blabla

Re: [NTG-context] value-copy - e.g. in \textreference

2007-08-30 Thread Wolfgang Schuster
,subsubsection [after={\resetnumber[number]}] \def\MyMark[#1] {\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}} \def\MyMark[#1]% {\expanded{\textreference[#1]{Para. \currentheadnumber / \getnumber[number]}}} \definestartstop[MyPara] [before= {\blank[medium

Re: [NTG-context] Context replacement for bibitem

2007-08-29 Thread Peter Schorsch
[bibliography] \setupitemgroup[bibliography][levels=1,left={[},right={]},stopper=] \setupitemgroup[bibliography][1][n,12*broad] %\setupitemgroup[bibliography][1][n \currentmoduleparameter{itemspace}*broad] \def\bibitem[#1]#2{\doifemptyelse{#2} {\item[#1]} {\sym{\cap{#2}}\textreference

Re: [NTG-context] reference to \starttyping

2006-12-08 Thread Aditya Mahajan
] There is also \textreference and \reference. From core-ref.tex %D This module deals with referencing. In \CONTEXT\ referencing %D is one of the core features, although at a first glance %D probably nobody will notice. This is good, because %D referencing should be as hidden as possible. %D %D In paper

Re: [NTG-context] Extending the black circled numbers

2006-04-04 Thread Taco Hoekwater
{\textreference[line#1]{\noexpand\conum{#1 \def\refline#1{\in{line }[line#1]} \dorecurse{99}{\markline{\recurselevel}, } \dorecurse{99}{\refline{\recurselevel}, } Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl

Re: [NTG-context] Extending the black circled numbers

2006-04-04 Thread nico
should I do to make them as anchors, so that it can be cross-referenced (I mean, one can click on a hot spot that jump to the number in the verbatim text). Like this maybe: \def\markline#1% {\conum{#1}% \expanded{\textreference[line#1]{\noexpand\conum{#1 \def\refline#1

Re: [NTG-context] XML and references

2006-04-03 Thread Taco Hoekwater
, so you need something like this: \defineXMLargument [title] [\XMLpar{section}{label}{}] {\section[\XMLpar{section}{label}{}]} 2. \textreference *creates* a reference instead of referring to one, so you need \defineXMLargument [ref] {\in[\XMLpar{ref

Re: [NTG-context] XML and references

2006-04-03 Thread Hans Hagen
: \defineXMLenvironment [section] { \defineXMLargument [title] [\XMLpar{section}{label}{}] wrong argument, should be [name=] {\section} \defineXMLenvironment [content] {}{} } {} \defineXMLargument [ref] {\textreference[\XMLpar{ref}{name}{}]} wrong command

Re: [NTG-context] XML and references

2006-04-03 Thread Johannes Graumann
} \defineXMLenvironment [content] {}{} } {} \defineXMLargument [ref] {\textreference[\XMLpar{ref}{name}{}]} wrong command \textreference should be \in I would appreciate any insight into my folly ... Thanks, Joh \defineXMLenvironment [section] {\setups{section:define

[NTG-context] XML and references

2006-04-02 Thread Johannes Graumann
] { \defineXMLargument [title] [\XMLpar{section}{label}{}] {\section} \defineXMLenvironment [content] {}{} } {} \defineXMLargument [ref] {\textreference[\XMLpar{ref}{name}{}]} I would appreciate any insight into my folly ... Thanks, Joh

Re: [NTG-context] Defining references points

2005-04-14 Thread Nikolai Weibull
Matthias Weber, April 13: \pagereference[name] or \textreference[name]{text} to place a label, and \at{page}[name] to refer to the page number. Actually, it turns out that \reference worked best, but thanks for pointing them out for me. I was actually using them, only in the wrong way...I

Re: [NTG-context] Defining references points

2005-04-13 Thread Matthias Weber
Use \pagereference[name] or \textreference[name]{text} to place a label, and \at{page}[name] to refer to the page number. Details are in core-ref.tex Matthias On Apr 13, 2005, at 4:34 PM, Nikolai Weibull wrote: I have tried figuring out how to define a reference point at any given location

[NTG-context] pagemark code works no more with arranging 3SIDE

2003-08-11 Thread Henning Hraban Ramm
% \textreference[#1:t:\MNamCounter]{#2}% \doifreferencefoundelse{#1:t:\MNamCounter} {\doifundefined{#1:f:\currentrealreference}% {\setxvalue{#1:f:\currentrealreference}% {\noexpand\in[#1:t:\MNamCounter]}} \setxvalue{#1:l:\currentrealreference}% {\noexpand\in[#1